TwoFA\Handler\Twofa\Google_Auth_Onpremise S

Total Complexity 40
Dependencies 2
Dependents 5
Total lines 290
Lines of code 180
Logical lines of code 100
Comment lines 87
Methods 11
Properties 1

Methods 11

Method Rating Maintainability Complexity Lines of code
mo2f_base32_decode()
A
45 12 37
mo2f_create_secret()
A
52 8 24
mo2f_verify_code()
S
50 7 25
mo2f_timing_safe_equals()
S
58 4 15
mo2f_get_base32_lookup_table()
S
49 1 37
mo2f_get_code()
S
56 2 15
random_str()
S
65 2 8
__construct()
S
91 1 2
mo_g_auth_set_secret()
S
70 1 6
mo_a_auth_get_secret()
S
70 1 6
mo2f_geturl()
S
72 1 5